package com.graduation.check.mapper;

import com.graduation.check.dto.SubmissionListItem;
import com.graduation.check.dto.SubmissionListRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface TeacherSubmissionMapper {
    
    /**
     * 获取提交记录列表
     */
    List<SubmissionListItem> selectSubmissionList(@Param("req") SubmissionListRequest request);
    
    /**
     * 获取提交记录总数
     */
    Long countSubmissions(@Param("req") SubmissionListRequest request);
    
    /**
     * 获取提交统计信息
     */
    Map<String, Object> getSubmissionStatistics(@Param("req") SubmissionListRequest request);
    
    /**
     * 获取提交详情
     */
    Map<String, Object> getSubmissionDetail(@Param("submissionId") Long submissionId);
}
